package com.wframe.project.jnd.services;

import com.wframe.project.jnd.entity.UiFloor;
import com.wframe.project.jnd.entity.UiFloorItem;
import com.wframe.project.jnd.entity.UiFloorProduct;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/5/24.
 */
public interface UiFloorService {

    List<UiFloor> getFloorByPlatform(UiFloor.Platform platform, Long userId);

    void deleteItems(Map map);

    void saveOrUpdate(UiFloorItem item);

    void deleteProducts(Map map);

    void addProducts(List<UiFloorProduct> products);

    UiFloorItem findOne(String id);

    List<UiFloorItem> findAll(Long id);
}
